package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.ProblemClose;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.ProblemCloseVo;

import java.util.List;

public interface ProblemCloseMapper {
    int deleteByPrimaryKey(String problemCloseId);

    int insert(ProblemClose record);

    int insertSelective(ProblemClose record);

    ProblemClose selectByPrimaryKey(String problemCloseId);

    int updateByPrimaryKeySelective(ProblemClose record);

    int updateByPrimaryKey(ProblemClose record);

    /**
     * 根据问题ID查询
     * @param problemId
     * @return
     */
    List<ProblemCloseVo> selectByProblemId(String problemId);
}